<?php $this->load->view('_inc/header_popup')?>

<h1>Nova Estação</h1>
<?php echo form_open('estacao/adicionandoMetroEstacao'); ?>
<?php echo form_hidden('estacao', $estacao)?>
<table>
    <tr><td><?php echo form_label('Metrô:'); echo form_dropdown('metro',$metros,'','autofocus'); ?></td></tr>
    <tr><td><?php echo form_label('Horário de Início:'); echo form_input('inicio','','class=ihora'); ?></td></tr>
    <tr><td><?php echo form_label('Horário de Fim:'); echo form_input('fim','','class=ihora'); ?></td></tr>
    <tr><td><?php echo form_label('Periodicidade:'); echo form_input('periodo',''); ?></td></tr>
    <tr>
        <td>
            <?php echo form_submit('','Salvar') ?>
            <?php echo form_button('','Cancelar', 'class=cancela')?>
        </td>
    </tr>
</table>
<?php echo form_close(); ?>